﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;



namespace KorbeRTR
{
    public partial class FormSBWX : Form
    {
        private Models.OmronData plc => FormMainWindow.OmronPLC;

        public FormSBWX()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            hsl设备维修开关.BackColor = plc.WS维修保养开关.Value ? Color.Red : Color.Gray;
        }
    }
}
